import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { join } from "path";
import { DatebaseConfig } from "./config/database";
import { ArticleModule } from "./modules/article/article.module";
import { UserModule } from "./modules/user/user.module";

@Module({
  imports: [TypeOrmModule.forRoot(DatebaseConfig), UserModule, ArticleModule],
  controllers: [],
  providers: [],
})
export class AppModule {}
